mxfdemux: Store GstMXFDemuxEssenceTrack in their own fixed allocation
Origin: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/
7dfaa57b6f9b55f17ffe824bd8988bb71ae11353
Bug-Debian: https://bugs.debian.org/
1056101
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2023-44446
Previously they were stored inline inside a GArray, but as references to
the tracks were stored in various other places although the array could
still be updated (and reallocated!), this could lead to dangling
references in various places.
Instead now store them in a GPtrArray in their own allocation so each
track's memory position stays fixed.
Fixes ZDI-CAN-22299
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3055
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5638>
Gbp-Pq: Name CVE-2023-44446.patch